<% human_form = fields %>
<tr>
	<td class="label_cell_form"><%= label_tag "human_name", Core.human_attribute_name("name") %></td>
	<td class="label_input_form">
		<%= human_form.text_field :name %>
		<div id="existents_humans"></div>
	</td>
</tr>
<tr>
	<td class="label_cell_form"><%= label_tag "human_kinds", Human.human_attribute_name("kinds") %></td>
	<td class="label_input_form kinds_cell_form"">
		<%= render :partial => "/cores/kinds_field", :object => { :core => @human, :form => human_form } %>	
	</td>
</tr>
<tr class="input_advanced">
	<td class="label_cell_form"><%= label_tag "human_description", Core.human_attribute_name("description") %></td>
	<td class="label_input_form"><%= human_form.text_area :description, :rows => 5, :class => "tinymce" %></td>
</tr>
<tr class="input_advanced">
	<td class="label_cell_form"><%= label_tag "human_sites", Core.human_attribute_name("sites") %></td>
	<td class="label_input_form">
		<% sites = @human.sites.to_s.split(" , ") %>  		
		<div>
			<%= text_field_tag "human[site][]", sites.delete_at(0), :size => 30 %>
			<a rel="human" href="#" class="more_site_lnk mini_button_form" ><%=t "core.more_sites" %></a>			
			<%= a = ""; sites.each{ |i| a += "<br />" + text_field_tag("human[site][]",i)}; a; %>
		</div>
	</td>
</tr>
<tr class="input_advanced">
	<td class="label_cell_form"><%= label_tag "human_photo_data", Core.human_attribute_name("photo")  %></td>
	<td class="label_input_form">
		<%= render :partial => "/cores/image_field", :object => { :form => human_form, 
				:core_name => "human", :core_photo => @human_photo } %>
	</td>	
</tr>

